#modal {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

#modal-box {
    width: 300px;
    background-color: #fff;
    padding: 10px;
}

#modal-box p {
    text-align: left;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.form-container {
    margin: auto;
    width: 100%;
}

.form-container h1 {
    color:#fff;
    margin: 15px 0;
    font-size: 40px;
}

form {
    background-color: rgba(255,255,255,0.5);
    border-radius: 10px;
    padding: 20px;
}

.input-row {
    margin: 10px 0;
    width: 100%;
    font-size: 0;
}

.input-row label {
    display: block;
    font-size: 16px;
}

.input-row em {
    color: red;
    font-style: normal;
}

.input-row input, .input-row textarea {
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    border-color: rgba(0,0,0,0.5);
}

.input-row input[type=text], .input-row input[type=tel], .input-row input[type=date], .input-row input[type=time], .input-row input[type=number]{
    width: 100%;
    padding: 10px;
    border-width: 1px; 
    border-style: solid;
    font-family: inherit;
}

.input-row input[type=date], .input-row input[type=time] {
    height: 40px;
}

.input-row input[type=submit] {
    padding: 10px;
    border: none;
    color: #000;
    background-color: #7FD02E;
    border-radius: 15px;
    width: 100px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.input-row input[type=submit]:hover {
    cursor: pointer;
}

#fname, #lname {
    width: 50%;
}

#fname {
    border-right: none;
    border-radius: 5px 0 0 5px;
}

#lname {
    border-radius: 0 5px 5px 0;
}

.input-row textarea {
    width: 100%;
    height: 100px;
    padding: 10px;  
    border-width: 1px;
    border-style: solid;
    font-family: inherit;
    font-size: 13px;
}

.success {
    padding: 10px 0;
    font-size: 16px;
}